package com.yilin.tms.core.entity.zhiyun;




import com.yilin.tms.core.commons.model.AuthData;

import java.util.List;
import java.util.Map;

public class ZyReqData {
    public static String LABEL = "label";
    public static String INPUTNAME = "inputName";
    public static String SELECTDATA = "selectData";

    public static enum ReqItem{
        queryIdCard(AuthData.AuthItem.authIdCard,"查看活体人脸采集数据","本地数据，共含7张高质量图片",false),
        checkIdCard(AuthData.AuthItem.authIdCard,"身份证公安验证接口","需要付费，未开发，阶梯计费",false),
        checkTruckExist(null,"车辆入网验证","验证车辆是否在全国货运平台入网，免费",false),
        checkVehicleExist(null,"车辆确认接口","验证该车辆是否在全国道路货运车辆公共监管与服务平台入网，0.2元/次/车",false),
        checkOwnerByVclNo(null,"车主真实性验证接口","验证车主信息真实性，小于1000次 免费，小于5000次 0.5元/次，小于10000次 0.4元/次，大于10000 0.3元/次",false),
        checkAreaByVclNo(null,"套牌车验证","验证车辆是否在指定城市，1元/次/车",false),//
        vQueryLicenseV2(AuthData.AuthItem.authTravelLicense,"车辆行驶证信息查询 V2","进行车辆行驶证信息查询，1元/次/车",true),
        checkRTCNo(AuthData.AuthItem.authTransportLicense,"道路运输证验证","验证道路运输证号是否正确，免费",false),//
        vQueryRTCNo(AuthData.AuthItem.authTransportLicense,"道路运输证查询","道路运输证简单信息查询，免费",true),//
        vehicleRoadLicense(AuthData.AuthItem.authTransportLicense,"道路运输证详细信息查询","道路运输证详细信息查询，0.1元/次",true),
        enterpriseRoadLicense(AuthData.AuthItem.authTransBusinessLicense,"企业道路运输经营许可证查询","企业道路运输经营许可证详细信息查询，0.1元/次",true),
        checkQualification(AuthData.AuthItem.authQualificationCert,"人员从业资格证核验","验证人员从业资格证是否正确，0.1元/次",true),
        queryQualificationInfo(AuthData.AuthItem.authQualificationCert,"人员从业资格证查询","人员从业资格证信息查询，0.2元/次",true);
        String itemName;
        String priceInfo;
        AuthData.AuthItem authItem;
        boolean isResMap;

        public String getItemName() {
            return itemName;
        }

        public String getPriceInfo() {
            return priceInfo;
        }

        public boolean isResMap() {
            return isResMap;
        }

        public AuthData.AuthItem getAuthItem() {
            return authItem;
        }

        ReqItem(AuthData.AuthItem authItem, String itemName, String priceInfo, boolean isResMap) {
            this.authItem=authItem;
            this.itemName = itemName;
            this.priceInfo = priceInfo;
            this.isResMap = isResMap;
        }
    }
    private AuthData.AuthItem authItem;
    private String interUrl;
    private String itemName;
    private String priceInfo;
    private List<Map<String,Object>> reqParameterList;
    private Map<String,String> reqParameter;

    public AuthData.AuthItem getAuthItem() {
        return authItem;
    }

    public void setAuthItem(AuthData.AuthItem authItem) {
        this.authItem = authItem;
    }

    public Map<String, String> getReqParameter() {
        return reqParameter;
    }

    public void setReqParameter(Map<String, String> reqParameter) {
        this.reqParameter = reqParameter;
    }

    public String getInterUrl() {
        return interUrl;
    }

    public void setInterUrl(String interUrl) {
        this.interUrl = interUrl;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public String getPriceInfo() {
        return priceInfo;
    }

    public void setPriceInfo(String priceInfo) {
        this.priceInfo = priceInfo;
    }

    public List<Map<String, Object>> getReqParameterList() {
        return reqParameterList;
    }

    public void setReqParameterList(List<Map<String, Object>> reqParameterList) {
        this.reqParameterList = reqParameterList;
    }
}
